package com.hoshiicloud.saleorder.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.saleorder.entity.CouponList;
import java.util.List;

/**
 * <p>
 * 优惠抵现单 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-03
 */
public interface CouponListService extends IService<CouponList> {

    CouponList getById(Long id);

    @Override
    boolean save(CouponList entity);

    @Override
    boolean updateById(CouponList entity);

    IPage<CouponList> page(IPage<CouponList> page, Wrapper<CouponList> queryWrapper, String key);

    boolean deleteById(Long id);

    List<CouponList> getByIds(List<Long> ids, String key);
}
